package com.bwie.service;

import com.bwie.pojo.TUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.R;
import com.bwie.vo.LoginVo;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author lenovo
* @description 针对表【t_user】的数据库操作Service
* @createDate 2025-03-21 18:42:38
*/
public interface TUserService extends IService<TUser> {

    R getUserById(Integer id);

    R login(LoginVo loginVo);

    R getUserList(PageInfoVo pageInfoVo);

    R addUser(TUser tUser);

    R getConfigFromNacos();

    R uploadImage(MultipartFile file);


    R getUserRole(Integer id);

    R checkUser(TUser tUser);

    R updateUser(TUser tUser);

    R delUserById(Integer id);

    R delUserAll(List<TUser> userList);
}
